Class JsonOptions

Summary

Fully Qualified Name: Laminas\Serializer\Adapter\JsonOptions
Extends: AdapterOptions

Description

Methods

Name Description Defined By
__construct() Constructor AbstractOptions
__get() Get a configuration property AbstractOptions
__isset() Test if a configuration property is null AbstractOptions
__set() Set a configuration property AbstractOptions
__unset() Set a configuration property to NULL AbstractOptions
getCycleCheck() JsonOptions
getEnableJsonExprFinder() JsonOptions
getObjectDecodeType() JsonOptions
setCycleCheck() JsonOptions
setEnableJsonExprFinder() JsonOptions
setFromArray() Set one or more configuration properties AbstractOptions
setObjectDecodeType() JsonOptions
toArray() Cast to array AbstractOptions

Method Details

__construct()

Constructor

Parameter Name Type Description
$options array|\Traversable|null

Returns:

__get()

Get a configuration property

Parameter Name Type Description
$key string

Returns: mixed

__isset()

Test if a configuration property is null

Parameter Name Type Description
$key string

Returns: bool

__set()

Set a configuration property

Parameter Name Type Description
$key string
$value mixed

Returns: void

__unset()

Set a configuration property to NULL

Parameter Name Type Description
$key string

Returns: void

getCycleCheck()

Returns: bool

getEnableJsonExprFinder()

Returns: bool

getObjectDecodeType()

Returns: int

setCycleCheck()

Parameter Name Type Description
$flag bool

Returns: \JsonOptions

setEnableJsonExprFinder()

Parameter Name Type Description
$flag bool

Returns: \JsonOptions

setFromArray()

Set one or more configuration properties

Parameter Name Type Description
$options array|\Traversable|\AbstractOptions

Returns: \AbstractOptions Provides fluent interface

setObjectDecodeType()

Parameter Name Type Description
$type int

Returns: \JsonOptions

toArray()

Cast to array

Returns: array

Top